<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>添加XXX</title>
    <th:block th:include="~{common/common::commonHead}"/>
    <script th:src="@{/js/xxxxx/xxxAdd.js}"></script>
</head>
<body data-width="300" data-height="500">
<form class="form-horizontal" role="form" th:action="@{/system/addXxx}">
    <div class="form-group">
        <label class="col-xs-4 control-label text-right"> 菜单编号：</label>
        <div class="col-xs-8">
            <div class="iconic-input right">
                <input id="xxxId" name="xxxId" type="text" class="form-control spinner" placeholder="6位数字">
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-xs-4 control-label"> 菜单名称：</label>
        <div class="col-xs-8">
            <div class="iconic-input right">
                <input id="xxxName" name="xxxName" type="text" class="form-control spinner" placeholder="1~20位字符">
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-xs-4 control-label"> 上级菜单：</label>
        <div class="col-xs-8">
            <select id="parentId" name="parentId" class="form-control spinner" data-url="system/listMenu"
                    data-value-field="xxxId" data-text-field="xxxName">
                <option value="">顶级</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-xs-4 control-label"> 菜单图标：</label>
        <div class="col-xs-8">
            <div class="iconic-input right">
                <input id="xxxIcon" name="xxxIcon" type="text" class="form-control spinner" placeholder="1~60位字符">
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-xs-4 control-label"> 菜单链接：</label>
        <div class="col-xs-8">
            <div class="iconic-input right">
                <input id="xxxLink" name="xxxLink" type="text" class="form-control spinner" placeholder="1~255位url">
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-xs-4 control-label"> 菜单状态：</label>
        <div class="col-xs-8">
            <label class="radio-inline">
                <input class="radio" type="radio" name="xxxStatus" value="0"> 隐藏
            </label>
            <label class="radio-inline">
                <input type="radio" name="xxxStatus" value="1"> 显示
            </label>
        </div>
    </div>
</form>
</body>
</html>